package com.xzh.mallorderspi.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@TableName("order_item")
@Getter
@Setter
public class OrderItem {
    @TableId(type = IdType.AUTO)
    @TableField(insertStrategy = FieldStrategy.NEVER)
    private Integer id;//主键
    private Integer orderId;//订单编号
    private Long goodId;//商品编号
    private BigDecimal dealPrice;//成交价
    private Integer count;//购买数量
    private String goodName;//商品名称
    private String goodPic;//商品图片
    private String goodDesc;//商品摘要
    private String description;//订单项备注
}
